﻿<Controls:SinacorWindow	
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
    xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    
    WindowStartupLocation="CenterScreen" 
    WindowState="Maximized" 
    Title="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaHistCC}"

	x:Class="Sinacor.UI.Bovespa.Parametros.View.SmartClient.PesquisaHistoricos"
    ModulePlus="False"
    ModuleId="ORD">

    <Controls:SinacorExpanderContainer>
        <Grid.RowDefinitions>
            <RowDefinition	Height="65"/>
            <RowDefinition	Height="4"/>
            <RowDefinition	Height="*"
							MinHeight="150"/>
        </Grid.RowDefinitions>
        <Controls:SinacorExpander	Header="{DynamicResource Bovespa.ContasCorrente.Label.ExpanderPesquisa}"
									Grid.Row="0"
									TabIndex="4" IsExpanded="True">
            <Grid>
                <Controls:SinacorLabel	HorizontalAlignment="Left"
									VerticalAlignment="Top"
                                    Margin="0,0,0,0"
									Content="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaDescricao}"
									Width="80"/>

                <Controls:SinacorTextBox	HorizontalAlignment="Left"
										Margin="85,0,0,0"
										VerticalAlignment="Top"
										Width="755"
										TabIndex="1"
										ToolTip="{DynamicResource Bovespa.ContasCorrente.Tooltip.PesquisaCCPesquisar}"/>
                <Controls:SinacorButton	HorizontalAlignment="Left"
                           			VerticalAlignment="Top"
                           			Content="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaCCPesquisar}"
                           			Width="100"
                           			Margin="845,0,0,0"
									IsDefault="True"
									ToolTip="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaCCPesquisar}"
									TabIndex="2"/>
                <Controls:SinacorButton	HorizontalAlignment="Left"
									VerticalAlignment="Top"
									Width="Auto"
									Margin="950,0,0,0"
									ToolTip="{DynamicResource Bovespa.ContasCorrente.Tooltip.BotaoNovaPesquisa}"
									TabIndex="3"
									Icon="IconButtonNewSearch"/>
            </Grid>
        </Controls:SinacorExpander>
        <Controls:SinacorExpander	Header="{DynamicResource Bovespa.ContasCorrente.Label.ExpanderHistCC}"
									Grid.Row="2"
									TabIndex="6" AllowExpand="False" IsExpanded="True">
            <Grid>
                <Controls:SinacorDataGrid	TabIndex="5">

                    <Controls:SinacorDataGrid.Columns>
                        <Controls:Column Name="Codigo"
                                         Title="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaCodigo}"
                                         IsRequired="False"
                                         AllowInsert="False"
                                         AllowUpdate="False" 
                                         HorizontalCellAlignment="Right"
										 Width="55"/>

                        <Controls:Column Name="Descricao"
                                         Title="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaDescricao}"
                                         IsRequired="False"
                                         AllowInsert="False"
                                         AllowUpdate="False" 
                                         HorizontalCellAlignment="Left"/>

                        <Controls:Column Name="Tipo"
                                         Title="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaTipo}"
                                         IsRequired="False"
                                         AllowInsert="False"
                                         AllowUpdate="False" 
                                         HorizontalCellAlignment="Center"
										 Width="40"/>

                        <Controls:Column Name="DiasProjecao"
                                         Title="{DynamicResource Bovespa.ContasCorrente.Label.PesquisaDiasProjecao}"
                                         IsRequired="False"
                                         AllowInsert="False"
                                         AllowUpdate="False" 
                                         HorizontalCellAlignment="Right"
										 Width="70"/>

                    </Controls:SinacorDataGrid.Columns>
                </Controls:SinacorDataGrid>

            </Grid>
        </Controls:SinacorExpander>
    </Controls:SinacorExpanderContainer>
</Controls:SinacorWindow>